<?php 
include("../../config.php");
?>

<?php
$beijing = file_get_contents("".$web["tianyi719"]."/api/picture.php?msg=美女");
?>

<!DOCTYPE html><html><head><meta charset="utf-8">
        
        <!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> -->
        <meta name="revisit-after" content="3days">
        <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" name="viewport">
                     <title><?php echo $web["ming"]; ?>API－免费API</title>
        <link rel="icon" href="http://q2.qlogo.cn/headimg_dl?dst_uin=<?php echo $web["qq"]; ?>&spec=5" type="image/ico">
        <meta name="keywords" content="<?php echo $web["keywords"]; ?>">
        <meta name="description" content="<?php echo $web["description"]; ?>">
        <link rel="stylesheet" href="css/sx.css">
        <link rel="stylesheet" href="css/font_2369161_gnvca87nd0j.css">
        <script type="text/javascript" src="js/jquery.min.js"></script>

  <script>
    Config = {
        Pjax: 'true',
        dark:'true',
        darktime:'',
        lighttime:'',
        fadein: 'close',
        
    } 
</script>
     
      <style>
       :root{--cust_color:#555}                  .header_frame .p_avatar img {
 animation: light 8s ease-in-out infinite;
 transition: 0.5s;
}

@keyframes light {
 0%{box-shadow: 0 0 4px #f00;}
 25%{box-shadow: 0 0 5px #0f0;} 
 50%{box-shadow: 0 0 4px #00f;}
 75%{box-shadow: 0 0 5px #0f0;} 
 100%{box-shadow: 0 0 4px #f00;}
}
  </style>
          
        
</head>
<body class="sc_body simu  cust_color ">
        <div class="content match_shadow content_normal">
        <header id="header" class="match_bg match_color">
                <div class="posit"><div class="header_picture"><img src="<?php echo $beijing; ?>"></div><div class="header_box"><div class="header_frame"><div class="p_avatar"><img src="http://q2.qlogo.cn/headimg_dl?dst_uin=<?php echo $web["qq"]; ?>&amp;spec=100"></div><div class="suggest"><div class="webname webname_show"><a><?php echo $web["ming"]; ?>API</a></div> <div class="say"><?php echo file_get_contents("".$web["tianyi719"]."/api/yan.php"); ?>                
</div></div></div></div></div>                <div class="meunbar">
                    <nav class="meun_list">
                        <ul class="meun_ul">
                            <li class="meun_li"><a href="/">主页</a></li>
                                <li class="meun_li"><a href="../../gengxin">更新日志</a></li>
                                <li class="meun_li"><a href="../../yuanma">查看源码</a></li>
                                </ul>
                    </nav>

                </div>
                
              </header>
            <div id="pjax">
<div class="content_top">

                </div>       
            <div class="index_remark_foot">
                <span></span>
                <time></time>
            </div>

<?php
$目录 = file_get_contents("../../template/youqing.php");
$友情 = preg_match_all("/『名字：(.*?)』『链接：(.*?)』『介绍：(.*?)』『QQ：(.*?)』『状态：已添加』/",$目录,$v);
?>

<?php
if($友情== 0){
echo "";
}else{
for( $i = 0 ; $i < $友情 && $i < $友情 ; $i ++ ){
$名字=$v[1][$i];
$链接=$v[2][$i];
echo '<article class="index_ajax index_list index_card match_bg match_color"><a target="_blank" href="'.$链接.'"><div class="index_remark_avatar"><div class="index_remark_excerpt"><h3>'.$名字.'</h3><div class="index_remark_foot"></div></div></div><div class="index_list_img"></div></a><div class="index_remark_foot"></div></article>';
}}?>

<article class="index_ajax index_list index_card match_bg match_color"><a target="_blank" href="../../admin/shenqing.php"><div class="index_remark_avatar"><div class="index_remark_excerpt"><h3>申请友链</h3><div class="index_remark_foot"></div></div></div><div class="index_list_img"></div></a><div class="index_remark_foot"></div></article>

<!-------尾部------->
 <!-------页脚尾部------->
 
 <script type="text/javascript">
		runtime();
		function runtime() {
			// 初始时间，日/月/年 时:分:秒
			X = new Date("9/15/2021 00:00:00");
			Y = new Date();
			T = (Y.getTime() - X.getTime());
			M = 24 * 60 * 60 * 1000;
			a = T / M;
			A = Math.floor(a);
			b = (a - A) * 24;
			B = Math.floor(b);
			c = (b - B) * 60;
			C = Math.floor((b - B) * 60);
			D = Math.floor((c - C) * 60);
			//信息写入到DIV中
			span.innerHTML = "本站已运行: " + A + "天" + B + "小时" + C + "分" + D + "秒"
		}
		setInterval(runtime, 1000);
	</script>

<div class="tool_bar">
              <li class="tool_night"><a href="javascript:switchNightMode()"><i class="iconfont icontaiyang"></i></a></li>
              <li id="top_to" class="tool_top" style="display: list-item;"><i class="iconfont icontop"></i></li>
            </div>
           </div>
           
                
        <script type="text/javascript" src="js/jquery.pjax.min.js"></script>
        <script type="text/javascript" src="js/jquery.lazyload.min.js"></script>
        <script src="js/nprogress.min.js"></script>
        <script type="text/javascript" src="https://cnqwq.xyz/js/toastify-js"></script>
        <script src="js/jquery.fancybox.min.js"></script>
        <script type="text/javascript" src="js/sx.js"></script>
        <script src="js/simpleLightbox.js"></script>
              
              
<!--音乐开始-->
<audio autoplay>
<source src="https://api.uomg.com/api/rand.music?sort=热歌榜" type="audio/mpeg">
</audio>
<!--音乐结束-->
 
</div></body></html>